package com.example.swimmingpool.vo.goods;

import com.example.swimmingpool.vo.base.BaseVo;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;

@EqualsAndHashCode(callSuper = true)
@Data
public class GoodsVo extends BaseVo {

    /**
     * 名字
     */
    private String name;

    /**
     * 商品类别,字典key
     */
    private String typeKey;

    /**
     * 价格
     */
    private BigDecimal price;


    /**
     * 描述
     */
    private String description;

    /**
     * 库存
     */
    private Integer account;

    /**
     * 图片url
     */
    private String picture;
}
